package com.xyz.entity.mapper;

import com.xyz.entity.pojo.EquipmentPlanTemplate;
import com.xyz.entity.pojo.EquipmentPlanTemplateExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface EquipmentPlanTemplateMapper {
    long countByExample(EquipmentPlanTemplateExample example);

    int deleteByExample(EquipmentPlanTemplateExample example);

    int deleteByPrimaryKey(Long id);

    int insert(EquipmentPlanTemplate record);

    int insertSelective(EquipmentPlanTemplate record);

    List<EquipmentPlanTemplate> selectByExample(EquipmentPlanTemplateExample example);

    EquipmentPlanTemplate selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") EquipmentPlanTemplate record, @Param("example") EquipmentPlanTemplateExample example);

    int updateByExample(@Param("record") EquipmentPlanTemplate record, @Param("example") EquipmentPlanTemplateExample example);

    int updateByPrimaryKeySelective(EquipmentPlanTemplate record);

    int updateByPrimaryKey(EquipmentPlanTemplate record);
}